package com.Maykk.Demo05;

/**
 * @ClassName Demo04Test
 * @Description: TODO Demo04 测试类
 * @Author: MaykkS;TAR@163.com
 * @DATE: 2023/2/5
 */
public class Demo05Test {
    public static void main(String[] args) {
        LaoMa laoMa = new LaoMa();
        laoMa.setJob("务农");
        System.out.println(laoMa.job);
        System.out.println(laoMa.getJob() + "  这是getJob返回的");
        XiaoMa xiaoma = new XiaoMa();
        xiaoma.job();

    }
}
